package com.hfy.kandian.service;

import com.hfy.kandian.dao.representation.BookRepresentation;
import com.hfy.kandian.entity.Bookshelf;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author HAN XIAOYANG
 * @since 2020-12-30
 */
public interface BookshelfService extends IService<Bookshelf> {

    int isCollected(int userId, int bookId);

    int collect(int userId, int bookId);

    int delete(int userId, int bookId);

    List<Integer> show(int userId);
}
